package filedemo;

public class Main1 {
    public static void main(String[] args) {

        try {
            java.io.BufferedReader in = new java.io.BufferedReader(new java.io.FileReader("test.log"));
            String str = null;
            while ((str = in.readLine()) != null) {
                System.out.println(str);
            }
        } catch (java.io.IOException e) {
            throw new RuntimeException(e);
        }
    }
}
